package com.shou.service;

import com.shou.pojo.Activity;
import com.shou.pojo.User;

public interface UserService {
    User getUserByUsername(String username);

    void addUser(User user);

    boolean authenticateUser(String username, String password);
    boolean registerUser(String username, String password);


    User findById(int id);

    void removeActivityFromUser(int userId, int activityId);

    void addActivityToUser(int userId, Activity activity);

    boolean loginUser(User user);

    void registerUser(User user);
}
